/* ============ Company page only ============ */

/* Page hero（少し控えめに） */
.page-hero{
  padding: 64px 0 56px;
  border-bottom: 1px solid #f0f0f4;
  background: linear-gradient(180deg,#fff,#fafafe);
}
.page-hero h1{
  margin: 0 0 6px;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 30px;             /* 32→30 */
  letter-spacing: .02em;
}
.page-hero .sub{
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

/* ===== Philosophy & Greeting（横並び + 段差 + 斜線） ===== */
.philo-greet{
  display: grid;
  grid-template-columns: 36% 64%;   /* 40/60 → 36/64 にして左をコンパクトに */
  gap: 40px;
  align-items: start;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* 斜めスラッシュ線（控えめ） */
.philo-greet::before{
  content: "";
  position: absolute;
  top: 44px; bottom: 44px;
  left: 36%;
  width: 1px;
  background: linear-gradient(to bottom right, #e6e6e6 0%, #f0f0f0 100%);
  transform: skew(-12deg);
  pointer-events: none;
}

/* 段差：左を上、右を下に */
.philo-greet > .panel:first-child{ margin-top: -72px; }
.philo-greet > .panel:last-child { margin-top:  72px; }

/* パネル内のタイポ（全体的に小さめ & 行間ひろめ） */
.philo-greet .panel{
  font-size: 13.5px;     /* 14 → 13.5 */
  line-height: 1.9;
  padding: 24px 20px;
}
.philo-greet .h2{
  font-size: 16px;       /* 見出しも控えめ */
  line-height: 1.55;
  margin-bottom: 8px;
}
.philo-greet .lead{
  font-size: 13.5px;     /* 本文も少し小さく統一 */
  line-height: 1.95;
}
.sign{
  margin-top: 20px;
  font-size: 13px;
  text-align: right;
  color: var(--ink-2);
}

/* ===== Company profile（dl） ===== */
.company-dl{
  margin: 0 auto;
  max-width: 820px;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.company-dl .row{
  display: grid;
  grid-template-columns: 160px 1fr; /* 180→160（見出し面積を少し削る） */
  gap: 0;
  border-bottom: 1px solid #eee;
}
.company-dl .row:last-child{ border-bottom: none; }

.company-dl dt,
.company-dl dd{
  padding: 12px 14px;               /* 14→12 で密度UP */
  margin: 0;
  font-size: 13px;                  /* 全体小さめ */
  line-height: 1.75;
}
.company-dl dt{
  background: #fafafa;
  color: var(--ink-2);
  font-weight: 500;                 /* 主張控えめ */
}
.company-dl dd a{ color: var(--navy); }


/* Company profile内の右下リンク */
.outline-contact{
  margin-top: 8px;
  text-align: right;
}
.outline-contact a{
  color: var(--gold-strong);
  font-size: 13px;
  text-decoration: none;
}
.outline-contact a:hover{
  text-decoration: underline;
  color: var(--navy);
}

/* ===== Responsive ===== */
@media (max-width: 960px){
  .philo-greet{
    grid-template-columns: 40% 60%; /* 中間幅は少し緩めに */
    gap: 32px;
  }
  .philo-greet > .panel:first-child{ margin-top: -48px; }
  .philo-greet > .panel:last-child { margin-top:  48px; }
  .philo-greet::before{ left: 40%; top: 36px; bottom: 36px; }
}

@media (max-width: 768px){
  .philo-greet{
    grid-template-columns: 1fr;     /* 縦並び */
    gap: 24px;
  }
  .philo-greet::before{ display:none; }
  .philo-greet > .panel{ margin-top: 0; }
  .philo-greet .panel{ font-size: 13.5px; } /* 読みやすさ優先で据え置き */
  .company-dl .row{ grid-template-columns: 1fr; }
  .company-dl dt{
    background: #fcfcfc;
    border-bottom: 1px dashed #eee;
  }
  .page-hero h1{ font-size: 28px; }
  .page-hero{ padding: 56px 0 48px; }
}
/* Page hero */
.page-hero{
  padding: 72px 0 64px;
  border-bottom: 1px solid #f0f0f4;
  background: linear-gradient(180deg,#fff,#fafafe);
  text-align: center;
}
.page-hero .hero-icon{
  width: 48px;
  margin: 0 auto 12px;
}
.page-hero h1{
  margin: 0 0 6px;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 36px;
}
.page-hero .sub{
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

/* Philosophy & Greeting */
.philo-greet{
  display: grid;
  grid-template-columns: 38% 58%;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.philo-greet > .panel:first-child{ margin-top: -40px; }
.philo-greet > .panel:last-child{ margin-top: 40px; }

.philo-greet::before{
  content: "";
  position: absolute;
  top: 40px; bottom: 40px;
  left: 38%;
  width: 1px;
  background: linear-gradient(to bottom right, #ddd 0%, #eee 100%);
  transform: skew(-12deg);
}

.philo-greet .panel{
  font-size: 13.5px;
  line-height: 1.9;
  padding: 24px 20px;
}
.philo-greet .h2{
  font-size: 16px;
}
.sign{
  margin-top: 20px;
  font-size: 13px;
  text-align: right;
  color: var(--ink-2);
}

/* Company outline */
.company-dl{
  margin: 0 auto;
  max-width: 820px;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  font-size: 13px;
}
.company-dl .row{
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid #eee;
}
.company-dl .row:last-child{ border-bottom: none; }
.company-dl dt,
.company-dl dd{
  padding: 12px 14px;
  margin: 0;
}
.company-dl dt{
  background: #fafafa;
  color: var(--ink-2);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px){
  .philo-greet{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .philo-greet::before{ display: none; }
  .philo-greet > .panel{ margin-top: 0; }
}
