/* ===================================
   about.css — 法人概要ページ固有スタイル
   =================================== */

/* ===== ページヒーロー ===== */
.page-hero {
  background: var(--bg-light);
  padding: 48px 0;
  color: #1a1a1a;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  margin-bottom: 20px;
  opacity: .8;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(90, 60, 55, 0.75); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { opacity: .5; }
.page-hero-label {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  display: inline-block;
  padding: 3px 16px;
  border-radius: 2px;
  margin-bottom: 16px;
  letter-spacing: .1em;
}
.page-hero h1 {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: normal; color: #5a3c37; }
.page-hero-lead {
  font-size: 1.7rem;
  line-height: 1.85;
  opacity: 1;
  max-width: 720px;
}

/* ===== 概要テーブル ===== */
.about-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  background: #fff;
}
.about-table th,
.about-table td {
  padding: 18px 24px;
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.8;
}
.about-table th {
  width: 200px;
  background: var(--bg-light);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  vertical-align: middle;
}
.about-table tr:last-child th,
.about-table tr:last-child td { border-bottom: none; }
.about-table a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ===== 理念セクション ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.mission-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  border-top: 4px solid var(--accent);
  transition: box-shadow var(--transition), transform var(--transition);
}
.mission-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.mission-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .15em;
  margin-bottom: 12px;
}
.mission-icon { font-size: 4.0rem; margin-bottom: 14px; display: block; }
.mission-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.mission-text {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.8;
  text-align: left;
}

/* ===== 数値実績 ===== */
.kpi-bar { background: var(--primary); }
.kpi-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.kpi-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
  color: #fff;
}
.kpi-item:last-child { border-right: none; }
.kpi-num {
  font-size: 4.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-num sup { font-size: 2.2rem; vertical-align: top; padding-top: 6px; }
.kpi-num sub { font-size: 2.2rem; }
.kpi-label { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,.90);
  margin-bottom: 4px; }
.kpi-note  { font-size: 1.3rem; color: rgba(255,255,255,.75);
  opacity: 1; line-height: 1.5; }

/* ===== 代表挨拶 ===== */
.greeting-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.greeting-photo {
  position: sticky;
  top: 100px;
}
.greeting-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
}
.greeting-photo-caption {
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
}
.greeting-body {}
.greeting-name {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.greeting-name-kana {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.greeting-role {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 20px;
}
.greeting-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.greeting-badge {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 2px;
}
.greeting-text {
  font-size: 1.6rem;
  color: #333;
  line-height: 2.0;
  margin-bottom: 20px;
}
.greeting-text:last-of-type { margin-bottom: 0; }
.greeting-sign {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.greeting-sign-text {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.greeting-sign-name {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}

/* ===== 沿革 ===== */
.history-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.history-list::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.history-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--bg-light);
  position: relative;
}
.history-item:last-child { border-bottom: none; }
.history-year {
  width: 120px;
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  padding-right: 28px;
  text-align: right;
  padding-top: 3px;
}
.history-dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
  position: relative;
  z-index: 1;
}
.history-body {
  flex: 1;
  padding-left: 24px;
}
.history-event {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.history-detail {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== アクセス ===== */
.access-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; }
.access-info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.access-info-head {
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  font-size: 1.6rem;
  font-weight: 700;
}
.access-info-body { padding: 24px; }
.access-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}
.access-table th,
.access-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.7;
}
.access-table tr:last-child th,
.access-table tr:last-child td { border-bottom: none; }
.access-table th {
  width: 90px;
  font-weight: 700;
  color: var(--primary);
  padding-right: 12px;
  white-space: nowrap;
}
.access-table a { color: var(--primary); font-weight: 700; }
.transport-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.4rem;
  color: #555;
  line-height: 1.6;
}
.transport-icon {
  font-size: 2.0rem;
  flex-shrink: 0;
}

/* ===== CTA ===== */
.main-cta {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.main-cta h2 { font-size: 3.2rem; font-weight: 900; margin-bottom: 12px; line-height: 1.4; }
.main-cta p  { font-size: 1.7rem; opacity: .85; margin-bottom: 40px; }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cta-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.cta-card-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.cta-card-desc  { font-size: 1.4rem; opacity: .8; margin-bottom: 20px; line-height: 1.6; }
.cta-card .tel-link { font-size: 2.8rem; font-weight: 900; color: var(--accent); display: block; letter-spacing: .02em; }
.cta-card .btn { width: 100%; }

/* ===== フッター ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: 1.4rem; line-height: 1.8; margin: 16px 0 12px; opacity: .75; }
.footer-logo-img { filter: brightness(0) invert(1); opacity: .9; margin-bottom: 4px; }
.footer-tel   { font-size: 2.2rem; font-weight: 900; color: var(--accent); letter-spacing: .03em; }
.footer-hours { font-size: 1.3rem; opacity: .65; margin-top: 4px; }
.footer-nav-title {
  font-size: 1.4rem; font-weight: 700; color: #fff;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 1.4rem; opacity: .75; transition: opacity var(--transition); }
.footer-nav a:hover { opacity: 1; }
.footer-bottom {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; padding: 20px; font-size: 1.3rem; opacity: .6; flex-wrap: wrap;
}
.footer-bottom a:hover { text-decoration: underline; opacity: 1; }


/* ===== レスポンシブ ===== */
@media (max-width: 1040px) {
  .access-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-cards { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: 72px; }
  .page-hero { padding: 36px 0; }
  .page-hero h1 { font-size: 2.8rem; }
  .page-hero-lead { font-size: 1.5rem; }
  .kpi-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .kpi-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .mission-grid { grid-template-columns: 1fr; }
  .greeting-inner { grid-template-columns: 1fr; }
  .greeting-photo { position: static; }
  .history-list::before { left: 100px; }
  .history-year { width: 100px; font-size: 1.4rem; }
  .cta-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-table th { width: 120px; font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .page-hero h1 { font-size: 2.4rem; }
  .kpi-bar-inner { grid-template-columns: 1fr; }
  .kpi-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .history-list::before { display: none; }
  .history-item { flex-direction: column; gap: 6px; }
  .history-year { width: auto; text-align: left; padding: 0; }
  .history-dot { display: none; }
  .history-body { padding-left: 0; }
  .about-table { font-size: 1.4rem; }
  .about-table th { display: block; width: 100%; border-bottom: none; padding-bottom: 4px; }
  .about-table td { display: block; width: 100%; padding-top: 4px; }
}
